Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@odopod/odo-device
Advanced tools
Device-specific settings and helpers.
npm install @odopod/odo-device --save
import
or require
the package, then use its properties and methods.
import OdoDevice from '@odopod/odo-device';
console.log('Has touch events:', OdoDevice.HAS_TOUCH_EVENTS);
console.log('Touch action:', OdoDevice.prefixed('touchAction', 'pan-y'));
console.log('Has local storage:', OdoDevice.HAS_LOCAL_STORAGE);
Visit the Odo component directory for demos, code examples, and documentation.
Device [1.3.0] - 2018-6-7
passive
property in event listener options. Use OdoDevice.HAS_PASSIVE_LISTENERS
to check if you can use the third argument of addEventListener
as an object. Needed for newer versions of iOS and Chrome which make touchstart
and touchmove
events on the document passive by default.FAQs
Device-specific settings for JS and CSS
The npm package @odopod/odo-device receives a total of 11 weekly downloads. As such, @odopod/odo-device popularity was classified as not popular.
We found that @odopod/odo-device demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.